package com.flycent.hqhs.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.flycent.hqhs.R;

/**
 * @author fbl
 *  720 全景列表
 */
public class PanoramicActivity extends BackableTitleBarActivity{
	
	@Override
		protected void onCreate(Bundle savedInstance) {
			super.onCreate(savedInstance);
			setContentView(R.layout.activity_panoramic);
			getTitleBar().setTitle(R.string.title_panoramic);
		}

	
	public void onClick(View v){
		switch (v.getId()) {
		case R.id.text1:
			
			Intent intent = new Intent(PanoramicActivity.this,PanoramicShowViewActivity.class);
			intent.putExtra("path", "http://pic15.nipic.com/20110619/216294_125633080000_2.jpg");
			startActivity(intent);
			break;
		case R.id.text2:
			Intent intent1 = new Intent(PanoramicActivity.this,PanoramicShowViewActivity.class);
			intent1.putExtra("path", "http://pic17.nipic.com/20111104/8748605_144012597000_2.jpg");
			startActivity(intent1);
			
			break;
		case R.id.text3:
			Intent intent2 = new Intent(PanoramicActivity.this,PanoramicShowViewActivity.class);
			intent2.putExtra("path", "http://img2.niutuku.com/desk/1208/1328/ntk-1328-31130.jpg");
			startActivity(intent2);
			
			break;
		case R.id.text4:
			Intent intent3 = new Intent(PanoramicActivity.this,PanoramicShowViewActivity.class);
			intent3.putExtra("path","http://pic7.nipic.com/20100417/1173378_214054685200_2.jpg");
			startActivity(intent3);
			
			break;

		default:
			break;
		}
	}
	
}
